package com.shuai.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shuai.model.vo.base.BaseVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("t_user")
@Schema(description = "UserVO实体类")
@EqualsAndHashCode(callSuper = true)
public class UserVO extends BaseVo {

    @TableId(value = "userid", type = IdType.AUTO)
    private Integer userId;

    @Schema(name = "account", description = "用户账号", required = true)
    private String account;
    @Schema(name = "pwd", description = "用户密码", required = true)

    private String pwd;
    @TableField(value = "username")
    private String userName;
    private String tel;
    @TableField(value = "isadmin")
    private Integer isAdmin;
    private Integer status;
    @TableField(exist = false)
    private String workStatus;
    @TableField(exist = false)
    private String projectName;
}